package com.eudon.user.domain.req;

import com.eudon.user.annotation.CustomValid;
import lombok.Data;

import java.io.Serializable;

/**
 * @author eudon
 * @description 用户注册请求
 * @date 2025/9/15
 * @email syd19970616@gmail.com
 * @address <a href="https://gitee.com/eudon">Gitee</a>
 */
@Data
public class RegisterReq implements Serializable {
    @CustomValid(
            types = CustomValid.ValidationType.NOT_BLANK,
            message = "用户名称不准为空"
    )
    private String userName;
    private String password;
    private String confirmPassword;
    private String email;
    private String phone;
}
